package com.yzy.soft.common.persistence.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author yinzhiyuan
 * @since 2018-02-08
 */
public class Metadataattr extends Model<Metadataattr> {

    private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.UUID)
	private String id;
	private String name;
	private String object;
	private String type;
	private String limit;
	private Date remark;
	private Date state;
	private String operator;
	private String metadataid;
	private Date create;
	private Date update;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getObject() {
		return object;
	}

	public void setObject(String object) {
		this.object = object;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getLimit() {
		return limit;
	}

	public void setLimit(String limit) {
		this.limit = limit;
	}

	public Date getRemark() {
		return remark;
	}

	public void setRemark(Date remark) {
		this.remark = remark;
	}

	public Date getState() {
		return state;
	}

	public void setState(Date state) {
		this.state = state;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getMetadataid() {
		return metadataid;
	}

	public void setMetadataid(String metadataid) {
		this.metadataid = metadataid;
	}

	public Date getCreate() {
		return create;
	}

	public void setCreate(Date create) {
		this.create = create;
	}

	public Date getUpdate() {
		return update;
	}

	public void setUpdate(Date update) {
		this.update = update;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Metadataattr{" +
			"id=" + id +
			", name=" + name +
			", object=" + object +
			", type=" + type +
			", limit=" + limit +
			", remark=" + remark +
			", state=" + state +
			", operator=" + operator +
			", metadataid=" + metadataid +
			", create=" + create +
			", update=" + update +
			"}";
	}
}
